package com.ruoyi.project.system.house.renovation.mapper;

import java.util.List;
import com.ruoyi.project.system.house.renovation.domain.HouseRenovation;

/**
 * 房源装修Mapper接口
 * 
 * @author f_baisi
 * @date 2020-08-27
 */
public interface HouseRenovationMapper 
{
    /**
     * 查询房源装修
     * 
     * @param id 房源装修ID
     * @return 房源装修
     */
    public HouseRenovation selectHouseRenovationById(String id);

    /**
     * 查询房源装修列表
     * 
     * @param houseRenovation 房源装修
     * @return 房源装修集合
     */
    public List<HouseRenovation> selectHouseRenovationList(HouseRenovation houseRenovation);

    /**
     * 新增房源装修
     * 
     * @param houseRenovation 房源装修
     * @return 结果
     */
    public int insertHouseRenovation(HouseRenovation houseRenovation);

    /**
     * 修改房源装修
     * 
     * @param houseRenovation 房源装修
     * @return 结果
     */
    public int updateHouseRenovation(HouseRenovation houseRenovation);

    /**
     * 删除房源装修
     * 
     * @param id 房源装修ID
     * @return 结果
     */
    public int deleteHouseRenovationById(String id);

    /**
     * 批量删除房源装修
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteHouseRenovationByIds(String[] ids);

	HouseRenovation findByName(String renovation);
}
